#include "mystruct.h"

int main(void)
{
  struct MyStructure s1 = {13, 'B', "Some text"};
  struct MyStructure s2 = s1;

  printf("s1: %d, %c, %s\n", s1.myNum, s1.myLetter, s1.myString);
  printf("s2: %d, %c, %s\n\n", s2.myNum, s2.myLetter, s2.myString);

  s2.myNum = 123;
  s2.myLetter = 'Z';
  strcpy(s2.myString, "hi");

  printf("s1: %d, %c, %s\n", s1.myNum, s1.myLetter, s1.myString);
  printf("s2: %d, %c, %s\n", s2.myNum, s2.myLetter, s2.myString);
  
  return 0;
}
